﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace BusinessPlatform.Data
{
    public class Enumerator
    {
        /// <summary>
        /// 是否字段的可选值
        /// </summary>
        public enum BOYesOrNo
        {
            [EnumValue("Y")]
            [EnumDescription("是")]
            Yes,
            [EnumValue("N")]
            [EnumDescription("否")]
            No
        }
        /// <summary>
        /// 单据状态
        /// </summary>
        public enum BODocStatus
        {            
            [EnumValue("O")]
            [EnumDescription("未清")]
            Open,
            [EnumValue("C")]
            [EnumDescription("已清")]
            Close
        }
        /// <summary>
        /// 行状态
        /// </summary>
        public enum BOLineStatus
        {            
            [EnumValue("O")]
            [EnumDescription("未清")]
            Open,
            [EnumValue("C")]
            [EnumDescription("已清")]
            Close,
        }
    }
}
